Skip to main content

Frontend Installation

Frontend Local Installation Process

Step 1:

  • Open the folder first.

Step 2:

  • Find the next.config.js file and open it in your preferred text editor. next.config.js example

Installation

Step 3:

  • Create an .env file and add your essential API keys or others.

Installation

  • In next.config.js file, link the .env file by adding the following code.

Installation

Step 4:

  • Open your terminal or command prompt:
  • For Mac and Linux users, use the terminal.
  • For Windows users, open your terminal from the address bar and type cmd to launch the Command Prompt.
  • In the command prompt, run the following command: yarn install and hit enter.

Installation

Step 5:

  • After the installation is complete, build the project by running: yarn build and press enter.

Installation

Step 6:

  • Once the build is successful, you should see a confirmation message.

Step 7:

  • Finally, you can run the project locally by typing: yarn start and hitting enter.

Installation

success

Now your Frontend is running locally. You can access it via localhost:port.